package com.ruoyi.fly.mapper;

import com.ruoyi.fly.domain.ServerOrder;
import com.ruoyi.fly.domain.vo.ServerOrderSearchVo;
import com.ruoyi.fly.domain.vo.ServerOrderVo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ServerOrderMapper {


    /**
     * 根据id查询服务订单
     * @param id
     * @return
     */
     ServerOrder selectAppletServerOrderById(String id);

    /**
     * 查询服务订单列表
     * @param serverOrderSearchVo
     * @return
     */
     List<ServerOrderVo> selectAppletServerOrderList(ServerOrderSearchVo serverOrderSearchVo);

    /**
     * 新增服务订单
     * @param serverOrder
     * @return
     */
     int insertAppletServerOrder(ServerOrder serverOrder);


    /**
     * 修改服务订单
     * @param serverOrder
     * @return
     */
     int updateAppletServerOrder(ServerOrder serverOrder);

    /**
     * 删除服务订单
     * @param id
     * @return
     */
     int deleteAppletServerOrderById(String id);

     int deleteAppletServerOrderByIds(String[] ids);


}
